package cn.com.customer.manager.ui.order.addOrder

import cn.com.customer.manager.base.BasePresenter
import cn.com.customer.manager.base.BaseView
import cn.com.customer.manager.bean.*

interface AddOrderContract {
    interface View : BaseView<Presenter> {
        fun addSuccess()
        fun setStateList(data: StatusList)
        fun setPayWayList(data: PayWayResult)
        fun setGoodList(data: GoodsList)
        fun modifySuccess()
        fun setData(data: OrderDetailInfo)
        fun initGoodList(data: GoodListInfo)

    }

    interface Presenter : BasePresenter {
        fun addOrder(params: AddOrderInfo)
        fun getStateList()
        fun getPayWayList()
        fun getGoodList()
        fun getGoodList(params: MutableMap<String, String>)
        fun modifyOder(params: AddOrderInfo)
        fun getData(params: MutableMap<String, String>)
    }
}